﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="ModificarUnaEscuela.aspx.cs" Inherits="vudu.PaginasWeb.G8Escuela.ModificarUnaEscuela" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style14
        {
            width: 352px;
            text-align: center;
        }
        .style19
        {
            width: 277px;
        }
        .style30
        {
            width: 209px;
        }
        .style32
        {
            width: 210px;
        }
        .style33
        {
            width: 208px;
        }
        .style36
        {
            width: 206px;
        }
        .style42
        {
            width: 202px;
        }
        .style43
        {
            width: 201px;
        }
        .style44
        {
            width: 273px;
        }
        .style45
        {
            width: 272px;
        }
        .style46
        {
            width: 274px;
        }
        .style47
        {
            width: 276px;
        }
        .style51
        {
            width: 254px;
        }
        .style52
        {
            width: 352px;
            text-align: center;
            font-size: x-large;
            color: #003399;
        }
        .style55
        {
            width: 257px;
            text-align: center;
        }
        .style56
        {
            width: 353px;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset style="color: #000000"> 
    <table style="width:100%;">
        <tr>
            <td>
        <a class="miga" href="/PaginasWeb/Home/HomeUniversidad.aspx">Inicio</a>&gt; <a class="miga" href="GestionarEscuela.aspx">Gestionar Escuela</a> &gt;<a class="miga" href="ModificarEscuela.aspx">Modificar Escuelas</a> 
                &gt; Modificar una Escuela<td align="right"><asp:Label ID="Usuario" runat="server" Text="Universidad: Catolica Andres Bello" 
                    CssClass="migaActual"></asp:Label>
                <table style="width:100%;">
                    <tr>
                        <td class="style51">
                            &nbsp;</td>
                        <td class="style14">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style51">
                            &nbsp;</td>
                        <td class="style52">
                            <strong>Gestionar Escuela</strong></td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style51">
                            &nbsp;</td>
                        <td class="style14">
                            Modificar una Escuela</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style51">
                            &nbsp;</td>
                        <td class="style14">
                            <div id="MensajeFinal" class="transaccionExitosa" runat="server"> La Escuela se ha modificado con Exito!</div>
                
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style51">
                            &nbsp;</td>
                        <td class="style14">
                            <div id="MensajeError" class="transaccionFallida" runat="server"> Ha Ocurrido un error modificando la Escuela, por favor verifique los Datos</div>
                 </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table style="width:100%;">
        <tr>
            <%--<td class="style13">
                &nbsp;&nbsp;
                <asp:Label ID="NombreEscuela" runat="server" Text="Nombre de Escuela"></asp:Label>
            </td>--%>
            <td class="style55">
                &nbsp;</td>
            <td class="style56">
                <asp:Label ID="nombreEscuela" runat="server" style="font-weight: 700" 
                    Text="Label"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <fieldset><legend>Modificar Escuela&nbsp;</legend>

        <table style="width:100%;">
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
                <td class="style19">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style36">
                    Nombre de Escuela:</td>
                <td class="style19">
                    <asp:TextBox ID="nombre_nuevo" runat="server" Width="271px" MaxLength="30" 
                        style="height: 22px" ></asp:TextBox>
                        
                    <br />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style36">
                    &nbsp;</td>
                <td class="style19">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <table style="width:100%;">
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style30">
                    &nbsp;</td>
                <td class="style44">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style30">
                    Descripcion:</td>
                <td class="style45">
                    <asp:TextBox ID="descripcion_nueva" runat="server" Height="70px" Width="267px" 
                        MaxLength="700" TextMode="MultiLine" ></asp:TextBox>
                    <br />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style42">
                    &nbsp;</td>
                <td class="style30">
                    &nbsp;</td>
                <td class="style44">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>

    
    <table style="width:100%;">
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style32">
                Director:</td>
            <td class="style45">
                <asp:TextBox ID="director_nuevo" runat="server" Width="267px" MaxLength="100"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style32">
                &nbsp;</td>
            <td class="style45">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style32">
                Telefono:</td>
            <td class="style45">
                <asp:TextBox ID="telefono_nuevo" runat="server" Width="271px" MaxLength="15" 
                    ></asp:TextBox>
                <asp:Label ID="MensajeTelefonoEscuela" runat="server" Text="Este campo no puede tener letras" 
                        CssClass="mensaje" Visible="False"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    
    <table style="width:100%;">
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style33">
                &nbsp;</td>
            <td class="style46">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style33">
                Direccion:</td>
            <td class="style45">
                <asp:TextBox ID="direccion_nueva" runat="server" Width="268px" MaxLength="700" 
                    Height="70px" TextMode="MultiLine" class="style33"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style43">
                &nbsp;</td>
            <td class="style33">
                &nbsp;</td>
            <td class="style46">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </fieldset>
    <table style="width:100%;">
        <tr>
            <td class="style42">
                &nbsp;</td>
            <td class="style33" align="center">
                 <asp:Button ID="Button2" runat="server" Text="Cancelar" CssClass="boton" />
                    
                </td>    
               <td class="style47" align="center">
                 <asp:Button ID="Button1" runat="server" Text="Modificar" OnClientClick =
                        "return confirm('¿Está seguro que desea modificar esta Escuela?')" OnClick="ModificarEscuela" 
                       CssClass="boton" />
                    
                </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style42">
                &nbsp;</td>
            <td class="style33" align="center">
                 &nbsp;</td>    
               <td class="style47" align="center">
                   &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style42">
                &nbsp;</td>
            <td class="style33" align="center">
                 &nbsp;</td>    
               <td class="style47" align="center">
                   &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        </table>
        </fieldset>
</asp:Content>
